Skip to content

Some tweaks to the build file#3

Open
sreilly wants to merge 5 commits intovioletlib:masterfrom
TheInfiniteKind:feature/build-tweaks
Open

Some tweaks to the build file#3
sreilly wants to merge 5 commits intovioletlib:masterfrom
TheInfiniteKind:feature/build-tweaks

Conversation

@sreilly
Copy link
Contributor

@sreilly sreilly commented May 9, 2022

The original build file didn't work for me for a few reasons. One was that some of the framework paths under the SDK folder didn't exist. This PR also tries to clarify how to get the JavaNativeFoundation framework and where to put it. Finally, some of the framework path parameters needed to be reordered in order to build successfully.

<!-- A Java 9 or later compiler is required -->

<exec executable="java_home" outputproperty="jdk">
<arg value="-F"/>
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Including the -F never builds for me, because java_home -F doesn't obey the plus in 9+ and fails with any jdk other than version 9.*.

Comment on lines +47 to +54
<!--
JNFdir specifies the location of Apple's JavaNativeFoundation.framework which can be acquired
at https://github.com/apple/openjdk/tree/xcodejdk14-release/apple/JavaNativeFoundation
Build it using Xcode and place the resulting JavaNativeFoundation.framework in the lib folder,
or override the JNFdir property to point to a folder that contains your own build of the framework.
-->
<property name="JNFdir" location="${base}/lib/"/>

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The JavaNativeFoundation framework is not (or is no longer) present under the SDK folder, so explain how to get it and where to put it.

@cbfiddle
Copy link
Contributor

cbfiddle commented May 10, 2022 via email

@cbfiddle
Copy link
Contributor

cbfiddle commented May 11, 2022 via email

@cbfiddle
Copy link
Contributor

cbfiddle commented May 14, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments